package com.dao;

import com.model.AgentAccount;
import com.model.SysUser;
import com.vo.AgentAccountVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AgentAccountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AgentAccount record);

    int insertSelective(AgentAccount record);

    AgentAccount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AgentAccount record);

    int updateByPrimaryKey(AgentAccount record);

    AgentAccount selectByAgentId(@Param("agentId") Long agentId);

    List<AgentAccount> selectByCondition(AgentAccount condition);
}